from django.db import models


# Create your models here.
class Wiki(models.Model):
    title = models.CharField(max_length=50,verbose_name="标题")
    contentarea = models.TextField(verbose_name="内容")
    
    def __str__(self):
        return self.title
    
    class Meta:
        verbose_name = u'知识库管理'
        verbose_name_plural = u'知识库管理'
        

class SystemConfig(models.Model):
    sys_key = models.CharField(max_length=50,verbose_name="配置项名称")
    sys_value = models.CharField(max_length=50,verbose_name="配置值")
    
    class Meta:
        verbose_name = u'cmdb配置管理'
        verbose_name_plural = u'cmdb配置管理'
